legal guardian

Translations
законный опекун
The court appointed him as the legal guardian of the child.
Суд назначил его законным опекуном ребёнка.